package com.jeecms.wicool.entity.material.base;

import java.sql.Timestamp;

import com.jeecms.wicool.entity.material.WeixinMaterialDetail;
import com.jeecms.wicool.entity.shops.ShopInfo;

/**
 * AbstractWeixinMaterial entity provides the base persistence definition of the
 * WeixinMaterial entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractWeixinMaterial implements java.io.Serializable {

	// Fields

	private Integer id;
	private ShopInfo shop;
	private Short messageType;
	private String messageTypeName;
	private String content;
	private Timestamp createTime;
	private Timestamp updateTime;
	
	private WeixinMaterialDetail weixinMaterialDetail;
	

	// Constructors

	/** default constructor */
	public AbstractWeixinMaterial() {
	}


	public AbstractWeixinMaterial(Integer id, ShopInfo shop, Short messageType,
			 String content, Timestamp createTime,
			Timestamp updateTime,WeixinMaterialDetail weixinMaterialDetail) {
		super();
		this.id = id;
		this.shop = shop;
		this.messageType = messageType;
		this.content = content;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.weixinMaterialDetail=weixinMaterialDetail;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public Short getMessageType() {
		return messageType;
	}


	public void setMessageType(Short messageType) {
		this.messageType = messageType;
	}


	public String getMessageTypeName() {
		return messageTypeName;
	}


	public void setMessageTypeName(String messageTypeName) {
		this.messageTypeName = messageTypeName;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}



	public void setWeixinMaterialDetail(WeixinMaterialDetail weixinMaterialDetail) {
		this.weixinMaterialDetail = weixinMaterialDetail;
	}


	public WeixinMaterialDetail getWeixinMaterialDetail() {
		return weixinMaterialDetail;
	}



}